module.exports = {
    devServer: {
        port: 3000,
        host: '0.0.0.0',
        https: false,
        proxy: {
            '/api': {
                target: 'http://192.168.3.147:8081',//代理的接口地址
                changeOrigin: true,//允许跨域
                secure: false,
            }
        }
    }
}